<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfAdoptedSplitOperation</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
<link rel="home" href="index.html" title="libinfinity-0.4 Reference Manual">
<link rel="up" href="ch03.html" title="Libinfinity's adOPTed implementation">
<link rel="prev" href="InfAdoptedNoOperation.html" title="InfAdoptedNoOperation">
<link rel="next" href="InfAdoptedUser.html" title="InfAdoptedUser">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="InfAdoptedNoOperation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch03.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.4 Reference Manual</th>
<td><a accesskey="n" href="InfAdoptedUser.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfAdoptedSplitOperation.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#InfAdoptedSplitOperation.description" class="shortcut">Description</a>
                   | 
                  <a href="#InfAdoptedSplitOperation.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#InfAdoptedSplitOperation.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#InfAdoptedSplitOperation.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="InfAdoptedSplitOperation">
<a name="InfAdoptedSplitOperation"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfAdoptedSplitOperation.top_of_page"></a>InfAdoptedSplitOperation</span></h2>
<p>InfAdoptedSplitOperation — Operation wrapping two operations</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="InfAdoptedSplitOperation.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="InfAdoptedSplitOperation.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;libinfinity/adopted/inf-adopted-split-operation.h&gt;

                    <a class="link" href="InfAdoptedSplitOperation.html#InfAdoptedSplitOperation-struct" title="InfAdoptedSplitOperation">InfAdoptedSplitOperation</a>;
                    <a class="link" href="InfAdoptedSplitOperation.html#InfAdoptedSplitOperationClass" title="InfAdoptedSplitOperationClass">InfAdoptedSplitOperationClass</a>;
<a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="returnvalue">InfAdoptedSplitOperation</span></a> * <a class="link" href="InfAdoptedSplitOperation.html#inf-adopted-split-operation-new" title="inf_adopted_split_operation_new ()">inf_adopted_split_operation_new</a>
                                                        (<em class="parameter"><code><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> *first</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> *second</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            <a class="link" href="InfAdoptedSplitOperation.html#inf-adopted-split-operation-unsplit" title="inf_adopted_split_operation_unsplit ()">inf_adopted_split_operation_unsplit</a> (<em class="parameter"><code><a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a> *operation</code></em>);
<a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="returnvalue">InfAdoptedOperation</span></a> * <a class="link" href="InfAdoptedSplitOperation.html#inf-adopted-split-operation-transform-other" title="inf_adopted_split_operation_transform_other ()">inf_adopted_split_operation_transform_other</a>
                                                        (<em class="parameter"><code><a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> *other</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> concurrency_id</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="InfAdoptedSplitOperation.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----InfAdoptedSplitOperation
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="InfAdoptedSplitOperation.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfAdoptedSplitOperation implements
 <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation">InfAdoptedOperation</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="InfAdoptedSplitOperation.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="InfAdoptedSplitOperation.html#InfAdoptedSplitOperation--first" title='The "first" property'>first</a>"                    <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>*  : Read / Write / Construct Only
  "<a class="link" href="InfAdoptedSplitOperation.html#InfAdoptedSplitOperation--second" title='The "second" property'>second</a>"                   <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>*  : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" title="Description">
<a name="InfAdoptedSplitOperation.description"></a><h2>Description</h2>
<p>
<a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a> is a wrapper around that two
<a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>s. This is normally not required directly but
may be a result of some transformation.
</p>
</div>
<div class="refsect1" title="Details">
<a name="InfAdoptedSplitOperation.details"></a><h2>Details</h2>
<div class="refsect2" title="InfAdoptedSplitOperation">
<a name="InfAdoptedSplitOperation-struct"></a><h3>InfAdoptedSplitOperation</h3>
<pre class="programlisting">typedef struct _InfAdoptedSplitOperation InfAdoptedSplitOperation;</pre>
<p>
<a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a> is an opaque data type. You should only access it
via the public API functions.
</p>
</div>
<hr>
<div class="refsect2" title="InfAdoptedSplitOperationClass">
<a name="InfAdoptedSplitOperationClass"></a><h3>InfAdoptedSplitOperationClass</h3>
<pre class="programlisting">typedef struct {
} InfAdoptedSplitOperationClass;
</pre>
<p>
This structure does not contain any public fields.
</p>
</div>
<hr>
<div class="refsect2" title="inf_adopted_split_operation_new ()">
<a name="inf-adopted-split-operation-new"></a><h3>inf_adopted_split_operation_new ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="returnvalue">InfAdoptedSplitOperation</span></a> * inf_adopted_split_operation_new
                                                        (<em class="parameter"><code><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> *first</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> *second</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a>. A split operation is simply a
wrapper around two operations (which may in turn be split operations).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>first</code></em> :</span></p></td>
<td>one of the <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>s to be wrapped
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>second</code></em> :</span></p></td>
<td>the other <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> to be wrapped
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_adopted_split_operation_unsplit ()">
<a name="inf-adopted-split-operation-unsplit"></a><h3>inf_adopted_split_operation_unsplit ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *            inf_adopted_split_operation_unsplit (<em class="parameter"><code><a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a> *operation</code></em>);</pre>
<p>
Returns a list of the operations contained by the split operation. If the
splitted operation are in turn split operations, they will also be
unsplitted. The returned list is guarenteed to not contain a
<a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>operation</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A list of operations. Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Singly-Linked-Lists.html#g-slist-free"><code class="function">g_slist_free()</code></a> when done.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="inf_adopted_split_operation_transform_other ()">
<a name="inf-adopted-split-operation-transform-other"></a><h3>inf_adopted_split_operation_transform_other ()</h3>
<pre class="programlisting"><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="returnvalue">InfAdoptedOperation</span></a> * inf_adopted_split_operation_transform_other
                                                        (<em class="parameter"><code><a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a> *op</code></em>,
                                                         <em class="parameter"><code><a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a> *other</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> concurrency_id</code></em>);</pre>
<p>
Transforms <em class="parameter"><code>other</code></em> against <em class="parameter"><code>op</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
<td>A <a class="link" href="InfAdoptedSplitOperation.html" title="InfAdoptedSplitOperation"><span class="type">InfAdoptedSplitOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>other</code></em> :</span></p></td>
<td>An arbitrary <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>concurrency_id</code></em> :</span></p></td>
<td>The concurrency id for the transformation of
<em class="parameter"><code>other</code></em> against <em class="parameter"><code>op</code></em>.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The transformed operation.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="InfAdoptedSplitOperation.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "first" property'>
<a name="InfAdoptedSplitOperation--first"></a><h3>The <code class="literal">"first"</code> property</h3>
<pre class="programlisting">  "first"                    <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>*  : Read / Write / Construct Only</pre>
<p>The first operation of the split operation.</p>
</div>
<hr>
<div class="refsect2" title='The "second" property'>
<a name="InfAdoptedSplitOperation--second"></a><h3>The <code class="literal">"second"</code> property</h3>
<pre class="programlisting">  "second"                   <a class="link" href="InfAdoptedOperation.html" title="InfAdoptedOperation"><span class="type">InfAdoptedOperation</span></a>*  : Read / Write / Construct Only</pre>
<p>The second operation of the split operation.</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.15</div>
</body>
</html>